package com.aspose.cells;

class zbqp extends zbz {
   zbqp() {
      this.c(197);
   }

   void a(zbqn var1) {
      this.a((short)(14 + (var1.g == null ? 0 : zakq.e(var1.b()))));
      this.c = new byte[this.d()];
      byte var2 = 0;
      System.arraycopy(com.aspose.cells.b.a.zc.a((short)var1.h.getBaseIndex()), 0, this.c, var2, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a((short)var1.a), 0, this.c, var2 + 2, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.b), 0, this.c, var2 + 4, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a((short)var1.c), 0, this.c, var2 + 6, 2);
      if (var1.h.getBaseItemPosition() == 0) {
         System.arraycopy(com.aspose.cells.b.a.zc.a((int)32763), 0, this.c, var2 + 8, 2);
      } else if (var1.h.getBaseItemPosition() == 1) {
         System.arraycopy(com.aspose.cells.b.a.zc.a((int)32764), 0, this.c, var2 + 8, 2);
      } else {
         System.arraycopy(com.aspose.cells.b.a.zc.a((short)var1.d), 0, this.c, var2 + 8, 2);
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.e), 0, this.c, var2 + 10, 2);
      int var4 = var2 + 12;
      if (var1.g == null) {
         this.c[var4++] = -1;
         this.c[var4++] = -1;
      } else {
         String var3 = var1.b();
         System.arraycopy(com.aspose.cells.b.a.zc.a((short)var3.length()), 0, this.c, var4, 2);
         var4 += 2;
         int var10000 = var4 + zco.a(this.c, var4, var3);
      }

   }
}
